const esbuild = require("esbuild");
const vue2SfcPlugin = require("../src/plugins/vue-2-sfc");

esbuild
  .build({
    entryPoints: ["index.js"],
    outfile: "dist/index.js",
    bundle: true,
    plugins: [vue2SfcPlugin()],
    external: ["@vue/composition-api"],
  })
  .catch(() => process.exit(1));
